<style>
    #main {height: 100%;}
    #main .tab-content {height: 100%;}
    #main .tab-content #content {height: 100%;}
    #main .tab-content #content .row {height: 100%;}
    #main .tab-content #content .row>div {height: 100%;}
    #main .tab-content #content .row>div .content {height: 100%;}
</style> 
<span class="data_array" style="display: none"><?php echo json_encode($tree);?></span>
<div id="container" style="height: 100%"></div>
<script type="text/javascript" src="/echarts/echarts/echarts.min.js"></script>
<script type="text/javascript">
    var dom = document.getElementById("container");
    var myChart = echarts.init(dom);
    var app = {};
    option = null;
    myChart.showLoading();
    var data2 = {$tree};
</script>


